package part12_命令模式_一个app控制所有家电;

/**
 * @ClassName: LightReceiver
 * @Author: AllenSun
 * @Date: 2020/3/4 23:44
 */
public class LightReceiver {
    public void on(){
        System.out.println("电灯打开了...");
    }
    public void off(){
        System.out.println("电灯关掉了...");
    }
}
